<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script>
        function setUserId(u) {
            alert("u = " + u)
        }
    </script>
    <title>测试</title>
</head>
<body>
<div>
    测试调用js方法
</div>
</body>
</html>